package com.atguigu.gulimall.auth.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 马迎迎
 * @Title: ThirdPartyFeignService
 * @Package com.atguigu.gulimall.auth.feign
 * @Description: TODO(添加描述)
 * @date 2021年05月25日 18:51
 */
@FeignClient("gulimall-thirdparty")
public interface ThirdPartyFeignService {
    @GetMapping("/sms/sendcode")
    public R sendCode(@RequestParam("mobile") String mobile, @RequestParam("code") String code);
}
